function [Real Imag]= ToFrequencyDomain(Buffer)
%i.	Apply FFT
FT = fft2(Buffer);
%ii.	Shift the FFT result by (width / 2, height / 2)
FTS = fftshift(FT);
%iii.	Separate real and imaginary parts
Real = real(FTS);
Imag = imag(FTS);
